package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/8/18.
 */

public class ordersEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"hasNext":false,"list":[{"activity":{"id":"aPKo4l6jmg","type":13},"actualPrice":29900,"allowBespeak":false,"allowBuy":true,"allowCancel":false,"allowDelete":true,"allowPayment":false,"currentPrice":29900,"orderNo":"VFHP180818-218395","originalPrice":68800,"product":{"desc":"整屋0平米 2室1厅2床 宜住3人","id":"rL5YJaXmJw","imageUrl":"https://img.villaday.com/images/house_729/44761/44761-10-321661.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"惠州·梵高的海·臻品听海两室套房"},"status":1,"statusText":"已取消"}],"next":1,"pageNo":1,"pageSize":10,"size":10,"start":1,"total":1}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * hasNext : false
         * list : [{"activity":{"id":"aPKo4l6jmg","type":13},"actualPrice":29900,"allowBespeak":false,"allowBuy":true,"allowCancel":false,"allowDelete":true,"allowPayment":false,"currentPrice":29900,"orderNo":"VFHP180818-218395","originalPrice":68800,"product":{"desc":"整屋0平米 2室1厅2床 宜住3人","id":"rL5YJaXmJw","imageUrl":"https://img.villaday.com/images/house_729/44761/44761-10-321661.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"惠州·梵高的海·臻品听海两室套房"},"status":1,"statusText":"已取消"}]
         * next : 1
         * pageNo : 1
         * pageSize : 10
         * size : 10
         * start : 1
         * total : 1
         */

        private boolean hasNext;
        private int next;
        private int pageNo;
        private int pageSize;
        private int size;
        private int start;
        private int total;
        private List<ListEntity> list;

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStart() {
            return start;
        }

        public void setStart(int start) {
            this.start = start;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public static class ListEntity {
            /**
             * activity : {"id":"aPKo4l6jmg","type":13}
             * actualPrice : 29900
             * allowBespeak : false
             * allowBuy : true
             * allowCancel : false
             * allowDelete : true
             * allowPayment : false
             * currentPrice : 29900
             * orderNo : VFHP180818-218395
             * originalPrice : 68800
             * product : {"desc":"整屋0平米 2室1厅2床 宜住3人","id":"rL5YJaXmJw","imageUrl":"https://img.villaday.com/images/house_729/44761/44761-10-321661.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"惠州·梵高的海·臻品听海两室套房"}
             * status : 1
             * statusText : 已取消
             */

            private ActivityBean activity;
            private int actualPrice;
            private String actualPriceValue;
            private boolean allowBespeak;
            private boolean allowBuy;
            private boolean allowCancel;
            private boolean allowDelete;
            private boolean allowPayment;
            private int currentPrice;
            private String currentPriceValue;
            private String depositAmountValue;
            private String discountAmountValue;
            private String orderNo;
            private int originalPrice;
            private String originalPriceValue;
            private ProductBean product;
            private int status;
            private String statusText;
            private int reservationMethod;
            private String reservationUrl;

            private int myType;
            private boolean isOpen;
            private int type;

            private  boolean hasInvoice;//      "hasInvoice": "boolean,是否有发票申请"

            public boolean isHasInvoice() {
                return hasInvoice;
            }

            public void setHasInvoice(boolean hasInvoice) {
                this.hasInvoice = hasInvoice;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getActualPriceValue() {
                return actualPriceValue;
            }

            public void setActualPriceValue(String actualPriceValue) {
                this.actualPriceValue = actualPriceValue;
            }

            public String getCurrentPriceValue() {
                return currentPriceValue;
            }

            public void setCurrentPriceValue(String currentPriceValue) {
                this.currentPriceValue = currentPriceValue;
            }

            public String getDepositAmountValue() {
                return depositAmountValue;
            }

            public void setDepositAmountValue(String depositAmountValue) {
                this.depositAmountValue = depositAmountValue;
            }

            public String getDiscountAmountValue() {
                return discountAmountValue;
            }

            public void setDiscountAmountValue(String discountAmountValue) {
                this.discountAmountValue = discountAmountValue;
            }

            public String getOriginalPriceValue() {
                return originalPriceValue;
            }

            public void setOriginalPriceValue(String originalPriceValue) {
                this.originalPriceValue = originalPriceValue;
            }

            public boolean isOpen() {
                return isOpen;
            }

            public void setOpen(boolean open) {
                isOpen = open;
            }

            public ListEntity(int myType) {
                this.myType = myType;
            }

            public int getMyType() {
                return myType;
            }

            public void setMyType(int myType) {
                this.myType = myType;
            }


            public int getReservationMethod() {
                return reservationMethod;
            }

            public void setReservationMethod(int reservationMethod) {
                this.reservationMethod = reservationMethod;
            }

            public String getReservationUrl() {
                return reservationUrl;
            }

            public void setReservationUrl(String reservationUrl) {
                this.reservationUrl = reservationUrl;
            }

            public ActivityBean getActivity() {
                return activity;
            }

            public void setActivity(ActivityBean activity) {
                this.activity = activity;
            }

            public int getActualPrice() {
                return actualPrice;
            }

            public void setActualPrice(int actualPrice) {
                this.actualPrice = actualPrice;
            }

            public boolean isAllowBespeak() {
                return allowBespeak;
            }

            public void setAllowBespeak(boolean allowBespeak) {
                this.allowBespeak = allowBespeak;
            }

            public boolean isAllowBuy() {
                return allowBuy;
            }

            public void setAllowBuy(boolean allowBuy) {
                this.allowBuy = allowBuy;
            }

            public boolean isAllowCancel() {
                return allowCancel;
            }

            public void setAllowCancel(boolean allowCancel) {
                this.allowCancel = allowCancel;
            }

            public boolean isAllowDelete() {
                return allowDelete;
            }

            public void setAllowDelete(boolean allowDelete) {
                this.allowDelete = allowDelete;
            }

            public boolean isAllowPayment() {
                return allowPayment;
            }

            public void setAllowPayment(boolean allowPayment) {
                this.allowPayment = allowPayment;
            }

            public int getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(int currentPrice) {
                this.currentPrice = currentPrice;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public ProductBean getProduct() {
                return product;
            }

            public void setProduct(ProductBean product) {
                this.product = product;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public static class ActivityBean {
                /**
                 * id : aPKo4l6jmg
                 * type : 13
                 */

                private String id;
                private int type;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }
            }

            public static class ProductBean {
                /**
                 * desc : 整屋0平米 2室1厅2床 宜住3人
                 * id : rL5YJaXmJw
                 * imageUrl : https://img.villaday.com/images/house_729/44761/44761-10-321661.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100
                 * name : 惠州·梵高的海·臻品听海两室套房
                 */

                private String desc;
                private String id;
                private String imageUrl;
                private String name;

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getImageUrl() {
                    return imageUrl;
                }

                public void setImageUrl(String imageUrl) {
                    this.imageUrl = imageUrl;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
